SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2af0eeb19abe7a92ee0d0761f937c5baec358cb590fcc5d5c008e88c4d972580' 
  AND token = 'P+IX9qlnZHbYg91mMf2DEFk8+H4UWPLUQFMQezaHF98=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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