SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b9981bbe93c25244c075c53e978456b2756d2b8945d73db12210245f1f741916' 
  AND token = 'mSaR5MCzlkAmhnUAGCAP1a+/ROweNEog0JgOD4jePn4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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