SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9d58da3c9b9e344a0fba35e767b10c6c6a5f0b906211850112cb3047e38bae3' 
  AND token = 'VjuLt14mZrCAzvpyF6lNYEWV3XEOUo5Q1rr1GTQcRTY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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