SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5a7be786839cb504a47c78e61ceebf4d9c572b460c58605d2839dcfff545d5e' 
  AND token = 'ZxbvrwFfcxp2qpI4jzTp9ZI/P+OadDIXtbwX4Dy2ngs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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