SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3a315c905955742b00e78e7ae56f99de3a37cfd982f42b45fb78855c49b1398' 
  AND token = 'lEOK+B1JcIS74hiZkclr78+/hidEqmcrcbnpYp7s+90=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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