SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8cf5f25d20d3face9eb15d2231631dda0a07bd8c9e2b409084ef2df1cc97bd8e' 
  AND token = 'mPbFv3/HHksCM6l5crMEgv9PRvs+qWGgZG87Jk0n7jc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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