SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '063ad66a14ceb6769a841e009b9868240f712b133d61f3ab6b543131ccacaac1' 
  AND token = 'qusbZysqYtz4zb5C6SmhbA/F1G7PmhzbqqJmQi++8/I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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