SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3f4d771733fa2abfd8113d174a87ea48afb5153ee3efeea48a017897f07006d4' 
  AND token = 'j8Xcc8l0vPk7TxO4iUpZ9/OFysZwJ2cuv2J0tXKsucc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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