SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c1ff2d0113610bd22a96999198bb9647d2f9a44f5e68227ad69a3853a75b56a' 
  AND token = 'H7woKTmBoRxn2n1Xn32vykZPBZ2TjDpb1fLdmWOi5Kk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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