SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a1ec6cf071f434367d6c4dc4641350a5b7994890ae5590fed5a0f4759a6be88' 
  AND token = 'vY/vZU9m7X9D9/DT6DL8Y6NbxXknpPvHbdzr0eGmzVQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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