SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b58fcdd02e1913bc1f99d6b490d0cec7542240fe06f67663d32ddd92f098f57a' 
  AND token = 'ZMnW1cVmAVi6x+aTWGvAeoNrRID0Rb2ixOoUj4vstg8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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