SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '970edf7c9d674367b8a12692493fc12509f6b9ac18db1037671f71414557b552' 
  AND token = 'inFARF6jf0jCRkdoxj4W2dG/A0ZOT/n7gUl8NZ5CcPQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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