SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c2451a6ae954c33739eca8ebb9ef7c11f5037d2f77fad016ad2e7ba8082e2c8' 
  AND token = 'r7nSA2Xeo/fMN5RTQ0dmFY/lmYDJx2Pezd8TOpw9Bjk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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