SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '402e5b4cdcb7eac5f8f8e0d13bee202d3349052a980c9e12decdcca74e5c849e' 
  AND token = '8jNb7osrypHMcwcSOugTnVzwLCnqn4iBmHRihefLVtc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}