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

Query time 0.00039

JSON explain

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