SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31663e6ee1220514893670d18a78298f355989142627e983b84cbfcd9983be7c' 
  AND token = 'Ipgwsz155++4Tr+G7QjBW1VqOOp0slM8xfAkl3ZQec4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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