SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c07845a2f72239acc2c2843dc7c0aeb883fa45f3fbfd5b92bd4a91830987a34' 
  AND token = 'u9S9pDMjNH5pEzKpIHpuAAIJtDzY9kxXfis8Uix/gs4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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