SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9cee2f31e2ad562ecda124f0c697805d3231b1e0e98479fca8daebbaa08f0892' 
  AND token = 'Yx4AIBTKACYLr1XNZ1zPAq8AokR2hrbwYFV7P3HyzuQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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