SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31977824baf27d45a75f2bc2cd1fe25700eb077744abd4d3549032dbf9b338af' 
  AND token = 'dBSgAeNdweVS6BDo15Mm4atsmZB+73Sw7SThBHxfow4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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