SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10cde20bb420456fcc372cd3eb0b437db2e976bec118429544ec97616ccf24dc' 
  AND token = 'm/VCMl01kepNOKD45e8MpoWtdLOlB3qOHXYJgx+NVjE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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