SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4edbded0f4e077468e1768ccaab526c174790aa7c43328f7501c69f4e7425547' 
  AND token = 'x5SGEwYg9IvjXnA9Z3u/E6Q/FEqv5imFQ9ayL1iIR6E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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