SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '134f111b8ff50ec7754b2bd611fbea2315609b2987bb2563915e5ec238fc1c0f' 
  AND token = '1JEnAryS5oWJibYFgsOOpdk2WszM5OfGzJw2d6Sive0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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