SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c109a0516da4f2ce9e230d2d994ed75c12fa117d7177c8caebff9c1540d69e5' 
  AND token = 'lqW1TNFp1kuqkw/b1L1aIS5Fa7gn9n3xRMcvZGWpMcE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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