SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ec0f0aa350b1813031f0e3a37bad6c96fa8a0e29dbf8b27caf7bac85ee7fcda' 
  AND token = 'viQaTEyE3UqVZdvIL1VbC0tqUzSlX3XHWgOqnG/dTI4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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