SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0d731bc919f2c9291304e2b2af25fed1ec3eae24ae65a7f265a616675a66dd91' 
  AND token = 'eTMJsnVQkT6zc+E3+PJ5P1wqYtGcvfgLiZg/ZkZGOdY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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