SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5d952ce584177ac856198fd7890664f78351b326df5292d0b08c2dafd0f83ace' 
  AND token = '9SlG/u9omZU5wMHNSgJbUhfUkFIgG2Evy4mPIfnLKS4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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