SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c27345fdbc603e8ee0550bd22bd6bcae53a7f12db389ca1feca03c7aa07cf5a2' 
  AND token = 'gtnlgEhXNNY5ye0+3/gstj3z1gJoMQBFcmxYSVRFWvk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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