SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f6ecd157e2c493fff73372725c3ccb2f058cf6b238ba298d78ae939fdb3d918' 
  AND token = 'rQ6wIqk2KCgWD0A2R2ltOp+sd82KRGXnZp0wb/h6Vpw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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