SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12008fb4ff9dcba46b5f0ac475f23b02792ea8328d85af41afae0368fe451eb9' 
  AND token = 'oBmBwsgIwvgjfthT5xV/Dw3HGHkT7shHIk5aEDzz5K8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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