SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '79712a187a7e69bf64554c7e7c977e98937b96391c29eb11f8bc84110b9b7879' 
  AND token = '5t3PQ2Z7ncB0VsbAm0PPs74NoOvt99jCU+XqAgQYtnY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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