SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecf4d5923bc83cbd92eb16ba576601960568b4eebc06e2152eb49e31cd430c0f' 
  AND token = '0N3JfdjE2OEnNrL7xOZR9IyVywtuarkMx0+wGltaiqA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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